home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Business Assistant
/
Business Assistant.iso
/
acctg
/
db3plsar
/
closeout.prg
< prev
next >
Wrap
Text File
|
1986-08-04
|
965b
|
36 lines
********************(CLOSEOUT.PRG)
CLEA
@ 12,1 SAY 'This will delete all of the paid invoices from the ì
active invoice file,'
@ 13,1 SAY 'and copy them to a .DBF file named PAID.DBF'
@ 15,1 SAY 'It will also remove completely any invoices or ì
customers you have'
@ 16,1 SAY 'marked for deletion by using CTRL U to delete while ì
in the EDIT INVOICE'
@ 17,1 SAY 'option or EDIT CUSTOMERS option.'
@ 20,22 SAY 'Is this what you want to do? '
?
STORE ' ' TO OPTION
WAIT ' ? ' TO OPTION
IF OPTION<>'Y'
CLEA
@ 15,20 SAY 'Press F9 to return to main menu....'
RETURN
ENDIF
CLEA
SET TALK ON
? 'Appending records to PAID.DBF file...'
USE PAID
APPE FROM INV FOR PAID
? 'Looking for invoices marked for deletion...'
USE INV INDE ACCTS
DELE FOR PAID
? 'Out they go...'
PACK
USE CUST INDE ACCT
? 'Removing deleted customers...'
PACK
SET TALK OFF
CLEA
@ 15,20 SAY 'Press F9 to return to main menu...'